projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ede9c2c
)
Fix some return value warnings
author
Alexander Larsson
<alexl@redhat.com>
Sat, 6 Dec 2008 22:22:24 +0000
(23:22 +0100)
committer
Alexander Larsson
<alex@localhost.localdomain>
Thu, 2 Apr 2009 08:14:07 +0000
(10:14 +0200)
gdk/gdkwindow.c
patch
|
blob
|
history
diff --git
a/gdk/gdkwindow.c
b/gdk/gdkwindow.c
index a7424e2debf6c7fe6862fdd35de6b7943496344e..381ce0de94ff987cd739de7aaa995be556c9f178 100644
(file)
--- a/
gdk/gdkwindow.c
+++ b/
gdk/gdkwindow.c
@@
-5978,13
+5978,13
@@
gdk_window_get_deskrelative_origin (GdkWindow *window,
gint tx = 0;
gint ty = 0;
- g_return_
if_fail (GDK_IS_WINDOW (window)
);
+ g_return_
val_if_fail (GDK_IS_WINDOW (window), FALSE
);
private = (GdkWindowObject *) window;
if (!GDK_WINDOW_DESTROYED (window))
{
- GDK_WINDOW_IMPL_GET_IFACE (private->impl)->get_deskrelative_origin (window, &tx, &ty);
+
return_val =
GDK_WINDOW_IMPL_GET_IFACE (private->impl)->get_deskrelative_origin (window, &tx, &ty);
if (x)
*x = tx + private->abs_x;